<?php $view->extend('template', 'content', array('title' => $view->lang->get('account')->get('register'))); ?>
<div class="col c6">
	<h2><?php echo $view->lang->get('account')->get('register_head')?></h2>
	<p><?php echo $view->lang->get('account')->get('register_text')?></p>
	<h2><?php echo $view->lang->get('account')->get('register_rules')?></h2>
	<?php echo $rules?>
</div>
<div class="col c6">
<h2><?php echo $view->lang->get('account')->get('register')?></h2>
<?php echo $regForm?>
<p>
<label><?php echo $view->lang->get('account')->get('username')?></label>
		<?php echo $regForm->input('text', 'username'); ?>
</p>
<p>
<label><?php echo $view->lang->get('account')->get('password')?></label>
		<?php echo $regForm->input('password', 'password'); ?>
</p>

<p>
<label><?php echo $view->lang->get('account')->get('email')?></label>
		<?php echo $regForm->input('text', 'email'); ?>
</p>

<?php if ($view->getConfig('site','use_captcha')):?>
	<p>
	<label><?php echo $view->lang->get('account')->get('human_verification')?></label>
	<?php echo $view->lang->get('account')->get('human_verification_explain')?><br />
	<?php echo $regForm->captcha('captchaReg')->setScale(10)?>
	</p>
	<p>
	<?php echo $regForm->captcha('captchaReg')->getInput()?>
	<p>
<?php endif;?>


<p>
<?php echo $regForm->input('submit','submit',$view->lang->get('account')->get('register')); ?>
</p>
<?php echo $regForm->close()?>
</div>